package com.five.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ywt
 * @since 2024-07-18
 */
@Data
@TableName("login_table")
public class LoginTable implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String sNumber;

    private String teacherNumber;
    
    private String businessNumber;

    private String phone;

    private String password;

    private String name;

    private String avatar;

    //0-学生 1-食堂管理员 2-课堂管理员 3-迎新管理员 4-娱乐管理员 5-超级管理员
    private Integer type;

    @TableField(exist = false)
    private String token;

    private String club;

}
